<?php


namespace app\controllers;


class BehController extends \yii\web\Controller
{
    public function behaviors()
    {
        return ['app\behaviors\LogBehavior'];
    }

    public function actionIndex()
    {
        echo $this->name;
        $this->log_stepin();
        $this->log_stepout();
        return __METHOD__;
    }
}